package com.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.dao.GunfailMapper;
import com.entity.Gunfail;

@Service
public class GunfailService {
	
	@Resource
	GunfailMapper gunfailMapper;
	
	public int insert(Gunfail gunfail){
		return gunfailMapper.insert(gunfail);
	}
	
	public int delete(String str){
		return gunfailMapper.delete(str);
	}
}
